Welcome to LearnScience - Free Science Education for Students

What is a Computer Network?

A computer network is a system that connects two or more computers together to share data, information, and resources such as files, printers, or internet access. This allows users to communicate, collaborate, and work more efficiently through resource sharing.

Components of a Data Communication System

The main components of a data communication system include:

computer network picture
  • Sender (Source): The device that initiates the message, such as a computer or mobile phone.
  • Medium (Transmission Medium): The path through which data travels, such as cables or wireless signals.
  • Receiver (Destination): The device that receives the message, such as another computer or device.
  • Message: The actual data or information being sent.
  • Protocol: A set of rules that govern how communication takes place between sender and receiver.

Types of Signals

Signals are used to transmit the message across the medium. They can be of two main types:

  • Analog Signal: A continuous signal that varies over time.
  • Digital Signal: A discrete signal, typically represented using binary (0s and 1s).

Understanding these components is essential for grasping how data communication works in modern networking systems.

Data Communication in Computer Networks

Types of Signals

In data communication, signals are used to transmit messages between devices. There are two main types of signals:

1. Analog Signal

Analog signals are continuous waveforms that change smoothly over time. These signals represent data using varying frequencies and amplitudes, often illustrated as sine waves.

Examples: Traditional telephones, radio broadcasting (AM/FM).

2. Digital Signal

Digital signals use binary values (0s and 1s) and consist of distinct levels. These are ideal for modern electronic and computing systems, offering higher accuracy and less noise interference.

Examples: Computers, digital communication systems, and modern telecommunication devices.

What is a Protocol?

A protocol is a set of rules and guidelines that manage how data is transmitted across networks. It ensures that devices understand and correctly interpret the data being exchanged.

Protocols define the structure, timing, sequencing, and error control of data exchange. Without protocols, communication between different systems would be chaotic.

Examples: TCP/IP, HTTP, FTP, SMTP.

What is a Message?

A message refers to the actual data being communicated between sender and receiver. It can be in various forms:

  • Text: Letters, characters, and symbols
  • Audio: Sound or voice
  • Video: Moving images or recordings
  • Graphics: Static images or drawings
  • Animation: Motion-based visuals

Data Communication Medium

The communication medium is the channel through which the message travels from the sender to the receiver. It can be classified into two main types:

1. Wired Media

Uses physical cables for data transmission.

  • Twisted Pair Cable
  • Coaxial Cable
  • Fiber Optic Cable

2. Wireless Media

Transmits data through air without cables.

  • Radio Waves (RW)
  • Microwaves (MW)
  • Infrared (IR)
computer network media

Each medium has its own advantages, depending on the speed, distance, cost, and application requirements.


Conclusion: Understanding signal types, protocols, and communication media is essential for building modern, efficient computer networks. These fundamentals support the reliable transfer of data in our connected world.

Classification of Communication Media

  • Wired Media (Guided / Bound): Uses physical cables like twisted pair, coaxial, and fiber optics.
  • Wireless Media (Unguided / Unbound): Uses airwaves like radio waves, microwaves, and infrared for transmission.

Advantages of Wired Media

  • High-speed and reliable transmission
  • Less interference and better security
  • Stable connection for critical network environments

Disadvantages of Wired Media

  • Less flexibility and difficult to reconfigure
  • Higher installation and maintenance costs
  • Cables can be damaged, affecting network performance

Advantages of Wireless Media

  • Mobility: Users can access the network from anywhere within the coverage area without physical connections.
  • Easy Installation: No need for cables makes it quicker and simpler to deploy.
  • Cost-effective for large areas: Ideal for covering large or hard-to-wire locations like campuses or remote areas.
  • Scalability: New devices can be easily added without additional cabling.

Disadvantages of Wireless Media

  • Interference: Wireless signals can be affected by environmental factors, electronic devices, or obstacles like walls.
  • Security Risks: Data transmitted over the air can be intercepted if not properly encrypted.
  • Lower Speed: Wireless networks typically offer lower speeds and bandwidth compared to wired networks.
  • Signal Range Limitations: Coverage may be limited, and signal strength can degrade over distance.

Conclusion: Choosing the right wired communication media depends on the network requirements, budget, and distance. Whether it's twisted pair for home use or fiber optics for enterprise-level speed, understanding the options helps build efficient and secure networks.

Twisted Pair Cables in Computer Networking

Twisted pair cables are a widely used type of network cabling in modern communication systems. These cables consist of pairs of insulated copper wires twisted together to reduce electromagnetic interference. There are two main types of twisted pair cables: Unshielded Twisted Pair (UTP) and Shielded Twisted Pair (STP).

1. Unshielded Twisted Pair (UTP)

Unshielded Twisted Pair cables are commonly used in Ethernet networks and telephone systems. They do not have any additional shielding, making them more flexible and cost-effective.

Structure of UTP Cable:

A UTP cable consists of 8 color-coded wires twisted into 4 pairs:

  • Orange & White-Orange
  • Blue & White-Blue
  • Green & White-Green
  • Brown & White-Brown

Key Features of UTP Cables:

  • Easy to install and handle
  • Less expensive than other cables
  • Commonly used in LAN environments
  • Suitable for short to medium distances

Limitations:

  • Susceptible to electromagnetic interference (EMI)
  • Limited distance and bandwidth compared to fiber optics
  • Needs a repeater for signals over long distances (typically > 100 meters)

Connector Used: UTP cables are typically terminated with an RJ-45 connector, which is standard for Ethernet networks.

2. Shielded Twisted Pair (STP)

Shielded Twisted Pair cables are similar to UTP but include a layer of shielding to protect against external interference. This makes STP cables more reliable in electrically noisy environments.

Structure of STP Cable:

Like UTP, STP also includes 8 wires twisted into 4 pairs:

  • White-Orange & Orange
  • White-Blue & Blue
  • White-Green & Green
  • White-Brown & Brown

Key Features of STP Cables:

  • Better protection against EMI and crosstalk
  • Used in industrial and high-interference areas
  • Offers higher transmission quality than UTP

Limitations:

  • More expensive and less flexible than UTP
  • Requires proper grounding during installation

Comparison: UTP vs STP

Feature UTP STP
Shielding No Yes
Cost Lower Higher
EMI Protection Low High
Installation Easy Requires grounding
Use Case Home & Office LANs Industrial / EMI-prone areas

Conclusion

Both UTP and STP cables play vital roles in network infrastructure. The choice between them depends on budget, environment, and performance needs. UTP is sufficient for most standard environments, while STP is preferred where electromagnetic interference is a concern.

Networking Cable Standards and Transmission Media

Straight Through Cable Configuration (TIA/EIA-568A & 568B)

Used to connect devices such as:

  • Computer to Switch
  • Computer to Hub
  • Switch to Router

TIA/EIA-568B Standard

PinColorColorPin
1White-OrangeWhite-Orange1
2OrangeOrange2
3White-GreenWhite-Green3
4BlueBlue4
5White-BlueWhite-Blue5
6GreenGreen6
7White-BrownWhite-Brown7
8BrownBrown8

TIA/EIA-568A Standard

PinColorColorPin
1White-GreenWhite-Green1
2GreenGreen2
3White-OrangeWhite-Orange3
4BlueBlue4
5White-BlueWhite-Blue5
6OrangeOrange6
7White-BrownWhite-Brown7
8BrownBrown8

Ethernet Cable Types: Straight-Through and Crossover

Ethernet cables are essential for wired computer networks. Depending on the devices you're connecting, you may need either a straight-through or a crossover cable.

Straight-Through Cable

A straight-through cable connects unlike devices, such as:

  • Switch ⟷ Router
  • PC ⟷ Switch
  • PC ⟷ Hub
  • Router ⟷ Hub

This type of cable uses the same wiring standard on both ends—usually T568B or T568A.

Examples of Straight-Through Connections:

Straight-through cable examples

Crossover Cable

A crossover cable is used to connect similar devices, such as:

  • PC to PC
  • Switch to Switch
  • Hub to Hub

In a crossover cable, one end uses the T568A standard, and the other uses T568B. This allows transmit and receive signals to cross over, making direct communication possible.

T568A and T568B Wiring Standards

Pin T568A T568B
1White-GreenWhite-Orange
2GreenOrange
3White-OrangeWhite-Green
4BlueBlue
5White-BlueWhite-Blue
6OrangeGreen
7White-BrownWhite-Brown
8BrownBrown
T568A to T568B crossover cable

Which Cable to Use?

Device 1 Device 2 Cable Type
PCSwitchStraight-through
SwitchRouterStraight-through
PCPCCrossover
SwitchSwitchCrossover

Modern switches and NICs often support Auto-MDI/MDI-X, allowing the use of either cable type. However, it's still important to understand these standards for compatibility and troubleshooting.

Conclusion

Knowing the difference between straight-through and crossover cables—and how to wire them using T568A or T568B—is fundamental for anyone working with computer networks.

Coaxial Cables in Computer Networks

Coaxial cables were widely used in early local area networks (LANs). Although now largely replaced by twisted pair and fiber optic cables, they are still important in understanding the foundations of networking.

Structure of a Coaxial Cable

A coaxial cable consists of the following layers:

  • Inner Conductor: A solid copper wire that carries the signal.
  • Copper Mesh (Shielding): Acts as a second conductor and shield against electromagnetic interference.
  • Outer Cover: A plastic layer that protects the internal components.
Structure of a Coaxial Cable

Types of Coaxial Cables

1. Thick Coaxial Cable (Thicknet)

  • Also known as 10Base5.
  • Used in early Ethernet networks to support speeds up to 10 Mbps.
  • Thicker and more rigid than other types, making installation harder.
  • Can transmit data over long distances (up to 500 meters) without repeaters.
  • Uses baseband (digital) signaling.

2. Thin Coaxial Cable (Thinnet)

  • Also known as 10Base2.
  • Thinner and more flexible than Thicknet, easier to install.
  • Supports up to 10 Mbps but has a shorter range (up to 185 meters).
  • Common in older Ethernet networks before twisted pair cabling became standard.

Use Cases and Limitations

Coaxial cables are mostly used in cable TV networks, older LANs, and radio frequency (RF) transmission. In modern networks, they are mostly replaced by twisted pair cables and fiber optics due to better performance and flexibility.

Conclusion

Understanding coaxial cables is key to grasping the evolution of network cabling. While no longer common in modern Ethernet LANs, they laid the groundwork for network communication in the early days of computing.

2. Fibre Optics (Glass Cable)

Structure:

A fiber optic cable consists of a core and cladding, usually made of plastic or glass. Light passes through the core and reflects off the cladding using total internal reflection.

Fibre optics

Advantages of Fiber Optic Cables:

  1. Very high-speed data transmission.
  2. Ideal for long-distance and backbone communication.
  3. Fiber optics are resistant to electrical noise (interference).
  4. They provide higher bandwidth and lower signal loss compared to copper cables.
  5. Used for long-distance communication (e.g., undersea and cross-country cables).

Types of Fiber Connectors

Common fiber connectors include: DE, ST, FC, LC, LCA, FCA, SCU

Types of Fiber Optic Cables

1. Multimode Fiber

  • Has a relatively large core diameter.
  • Light enters at multiple angles and reflects inside the cladding.
  • Multiple light paths can cause signal distortion (modal dispersion).
  • Best suited for short-distance communication.
  • Less expensive but less effective for long-distance compared to single-mode.

2. Single Mode Fiber

  • Features a very thin core that allows only one ray (mode) of light.
  • Minimizes distortion and signal loss.
  • Enables high-speed data transmission over long distances.

Advantages of Fiber Optics

  • High-speed data transfer with minimal signal loss.
  • Not affected by electromagnetic interference.
  • More secure than traditional copper cables.

Fiber Optic Cable - Summary

Fiber optic cables are commonly used in modern communication. They transmit data using light signals, making them ideal for high-speed and long-distance communication.

2. Wireless Media

Wireless communication uses various types of signals to transfer data without wires. These include:

  • Radio Waves
  • Infrared Signals
  • Satellite Communication

Radio Waves

Wireless transmission involves sending data through the air using electromagnetic waves. It allows communication without physical connections. Signals can be sent in all directions (omni-directional), and are commonly used in:

  • Mobile Communication
  • Wi-Fi
  • Bluetooth
  • Satellite Networks

← Back to Home